package com.xxx.car.mapper;

import com.xxx.car.entity.TbCouponPool;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbCouponPoolMapper {
    int deleteByPrimaryKey(String couponTicket);

    int insert(TbCouponPool record);

    int insertSelective(TbCouponPool record);

    TbCouponPool selectByPrimaryKey(String couponTicket);

    int updateByPrimaryKeySelective(TbCouponPool record);

    int updateByPrimaryKey(TbCouponPool record);

    TbCouponPool selectByPrimaryKeyForUpdate(String couponTicket);

    int batchInsert(@Param("pools") List<TbCouponPool> pools);
}